package com.example.learn_mybatis.mapper;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.example.learn_mybatis.pojo.Roles;
import com.example.learn_mybatis.pojo.Users;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author chen
 * @since 2025-07-11
 */
@Mapper
public interface UsersMapper extends BaseMapper<Users> {
    IPage<Roles> selectRolesPage(IPage<Roles> page, @Param("userId") Integer userId);
}
